// import {Layout} from './layout';
import Dialog from './dialog/index';
// import Button from './button/Button.vue';
// import CountDown from './countDown/countdown.vue';
// import CellItem from './cell/cell-item.vue';
// import CellGroup from './cell/cell-group.vue';
// import Code from './code/Code.vue';
import MessageBox from './dialog/src/messageBox/MessageBox.vue';
// import ActionSheet from './actionSheet/ActionSheet.vue';
// import Input from './form/Input.vue';
// import CarKeyBoard from './carKeyBoard/CarKeyBoard.vue';
// import Header from './header/Header.vue';
// import {GridsItem, GridsGroup} from './grids';
// import {TextArea} from './textarea';
// import {CheckBox,CheckBoxGroup} from './checkbox';
// import {Switch} from './switch';
// import {Radio,RadioGroup} from './radio';
// import {Spinner} from './spinner';
// import {Icons} from './icion';
// import {TabBar, TabBarItem} from './tabbar';
// import {Tab, TabPanel} from './tabs';
// import {Badge} from './badge';
// import {SendCode} from './sendcode';
// import {FlexBox, FlexBoxItem} from './flexbox';
// import {LuckyCard} from './luckycard';
// import {Pull,PullLeft} from './pull'
import PanThumb from './PanThumb/index';
import Music from './emdia/music';
import Lizi from './canvas/lizi';
const iview = {
    // Layout,
    // Button,
    // CountDown,
    // CellItem,
    // CellGroup,
    // Code,
    MessageBox,
    // ActionSheet,
    // Input,
    // CarKeyBoard,
    // Header,
    // CheckBox,
    // CheckBoxGroup,
    // Switch,
    // Radio,
    // RadioGroup,
    // Spinner,
    // TextArea,
    // GridsItem,
    // GridsGroup,
    // Icons,
    // TabBar,
    // TabBarItem,
    // Tab,
    // TabPanel,
    // Badge,
    // SendCode,
    // FlexBox,
    // FlexBoxItem,
    // LuckyCard,
    // Pull,
    // PullLeft,
    PanThumb,
    Music,
    Lizi
}
const install = function (Vue) {
    Object.keys(iview).forEach((key) => {
        //console.log(iview[key])
        Vue.component(iview[key].name, iview[key]);
    });
    /**
     * 全局注定弹框
     */
    Vue.prototype.$dialog = Dialog;
};
/*if (typeof window !== 'undefined' && window.Vue) {
    install(window.Vue);
}*/
/*export {
install,
iview
} ;*/
export default install